#!/bin/bash

ACTIVE=`mount | grep " / " | awk '{print $1}'`
if [ "$ACTIVE" == "/dev/mmcblk0p2" ]; then
  INACTIVE="/dev/mmcblk0p3"
else
 INACTIVE="/dev/mmcblk0p2"
fi

echo $ACTIVE $INACTIVE

